def wrap():
	x=10
	def fuck(a):
		nonlocal x
		x=x+a
		return x
	return fuck

a=wrap()
a(3)
print(a(12))


